package com.kaixin001.tk.datatype;

public class CarStatusInfo {

	private String carid= "";
	private String price= "";
	private String neighbor= "";
	private String parkuid= "";
	private String parkid= "";
	private String ctime= "";
	private String carname= "";
	private String carlogobig= "";
	private String carlogosmall= "";
	private String carlogoflash= "";
	private String cartrademark= "";
	private String cartrademarkname= "";
	private String carpolice= "";
	private String parkrealname= "";
	private String parklogo20= "";
	private String parkprofit= "";
	private String parkmoneyminute= "";
	private long stopMinutes = 10000;
	
	/**
	 * @return the carid
	 */
	public String getCarid() {
		return carid;
	}
	/**
	 * @param carid the carid to set
	 */
	public void setCarid(String carid) {
		this.carid = carid;
	}
	/**
	 * @return the price
	 */
	public String getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(String price) {
		this.price = price;
	}
	/**
	 * @return the neighbor
	 */
	public String getNeighbor() {
		return neighbor;
	}
	/**
	 * @param neighbor the neighbor to set
	 */
	public void setNeighbor(String neighbor) {
		this.neighbor = neighbor;
	}
	/**
	 * @return the parkuid
	 */
	public String getParkuid() {
		return parkuid;
	}
	/**
	 * @param parkuid the parkuid to set
	 */
	public void setParkuid(String parkuid) {
		this.parkuid = parkuid;
	}
	/**
	 * @return the parkid
	 */
	public String getParkid() {
		return parkid;
	}
	/**
	 * @param parkid the parkid to set
	 */
	public void setParkid(String parkid) {
		this.parkid = parkid;
	}
	/**
	 * @return the ctime
	 */
	public String getCtime() {
		return ctime;
	}
	/**
	 * @param ctime the ctime to set
	 */
	public void setCtime(String ctime) {
		this.ctime = ctime;
		
		try{
			stopMinutes = (System.currentTimeMillis()/1000 - Long.parseLong(ctime))/60;
		}
		catch (Exception e) {
		
		}
	}
	/**
	 * @return the carname
	 */
	public String getCarname() {
		return carname;
	}
	/**
	 * @param carname the carname to set
	 */
	public void setCarname(String carname) {
		this.carname = carname;
	}
	/**
	 * @return the carlogobig
	 */
	public String getCarlogobig() {
		return carlogobig;
	}
	/**
	 * @param carlogobig the carlogobig to set
	 */
	public void setCarlogobig(String carlogobig) {
		this.carlogobig = carlogobig;
	}
	/**
	 * @return the carlogosmall
	 */
	public String getCarlogosmall() {
		return carlogosmall;
	}
	/**
	 * @param carlogosmall the carlogosmall to set
	 */
	public void setCarlogosmall(String carlogosmall) {
		this.carlogosmall = carlogosmall;
	}
	/**
	 * @return the carlogoflash
	 */
	public String getCarlogoflash() {
		return carlogoflash;
	}
	/**
	 * @param carlogoflash the carlogoflash to set
	 */
	public void setCarlogoflash(String carlogoflash) {
		this.carlogoflash = carlogoflash;
	}
	/**
	 * @return the cartrademark
	 */
	public String getCartrademark() {
		return cartrademark;
	}
	/**
	 * @param cartrademark the cartrademark to set
	 */
	public void setCartrademark(String cartrademark) {
		this.cartrademark = cartrademark;
	}
	/**
	 * @return the cartrademarkname
	 */
	public String getCartrademarkname() {
		return cartrademarkname;
	}
	/**
	 * @param cartrademarkname the cartrademarkname to set
	 */
	public void setCartrademarkname(String cartrademarkname) {
		this.cartrademarkname = cartrademarkname;
	}
	/**
	 * @return the carpolice
	 */
	public String getCarpolice() {
		return carpolice;
	}
	/**
	 * @param carpolice the carpolice to set
	 */
	public void setCarpolice(String carpolice) {
		this.carpolice = carpolice;
	}
	/**
	 * @return the parkrealname
	 */
	public String getParkrealname() {
		return parkrealname;
	}
	/**
	 * @param parkrealname the parkrealname to set
	 */
	public void setParkrealname(String parkrealname) {
		this.parkrealname = parkrealname;
	}
	/**
	 * @return the parklogo20
	 */
	public String getParklogo20() {
		return parklogo20;
	}
	/**
	 * @param parklogo20 the parklogo20 to set
	 */
	public void setParklogo20(String parklogo20) {
		this.parklogo20 = parklogo20;
	}
	/**
	 * @return the parkprofit
	 */
	public String getParkprofit() {
		return parkprofit;
	}
	/**
	 * @param parkprofit the parkprofit to set
	 */
	public void setParkprofit(String parkprofit) {
		this.parkprofit = parkprofit;
	}
	/**
	 * @return the parkmoneyminute
	 */
	public int getParkmoneyminute() {
		int m =0;
		try{
			m=Integer.parseInt(parkmoneyminute);
		}
		catch (Exception e) {
		}
		return m;
	}
	/**
	 * @param parkmoneyminute the parkmoneyminute to set
	 */
	public void setParkmoneyminute(String parkmoneyminute) {
		this.parkmoneyminute = parkmoneyminute;
	}
	/**
	 * @return the stopMinutes
	 */
	public long getStopMinutes() {
		return stopMinutes<0?0:stopMinutes;
	}
	
	
}
